# -*- coding: utf-8 -*-
"""
Created on Sun Jun 10 22:48:37 2018

@author: Administrator
"""

from agilepipe.process import Z_standardize #,Mean_division

#%% Z_standardize
previous_dirpath = r''
mask_filepath = r'/media/root/Elements3/XuanWu_z_sm666_pearson_0609/CBF_processing/make_mask_before_z_standardize/sws_CBF_26_intersect_mask.nii'
present_dirpath = r'/media/root/Elements3/XuanWu_dpabi_spm/CBF_processing_ag/CBF_clear_background_SN_SR_SSM-6_z'

Z_standardize([previous_dirpath,mask_filepath,present_dirpath])

##%% mean division
#
#previous_dirpath = r'/media/root/Elements3/standardize_test/CBF_clear_background_SN_SR_SSM-6'
#mask_filepath = r'/media/root/Elements3/XuanWu_z_sm666_pearson_0609/CBF_processing/make_mask_before_z_standardize/sws_CBF_26_intersect_mask.nii'
#present_dirpath = r'/media/root/Elements3/standardize_test/CBF_clear_background_SN_SR_SSM-6_md'
#
#Mean_division([previous_dirpath,mask_filepath,present_dirpath])